Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to know if a perspective is custom or predefined?(From an IPerspectiveDescriptor how can one know if it describes a custom perspective, and if so, what the original perspective id is?)
How to know if a perspective is custom or predefined? [message #526826] Tue, 13 April 2010 07:41
Mattias Mohlin is currently offline Mattias MohlinFriend
Messages: 1
Registered: July 2009
Junior Member
I need to know if a perspective (described by an IPerspectiveDescriptor) represents a custom perspective. If so, I also need the id of the original perspective from which it was saved.
It seems PerspectiveDescriptor.getOriginalId() can be used to solve this problem, but that class is internal and I guess I should not use it.
Why is getOriginalId() not defined in the IPerspectiveDescriptor interface? Is there another way to solve this problem?

/Mattias Mohlin
Previous Topic:Text editor get/set text
Next Topic:Runtime.getRuntime().exec() returns exit code 127 on Ubuntu Linux
Goto Forum:

Current Time: Sat May 18 07:24:42 GMT 2024

Powered by FUDForum. Page generated in 0.03086 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top