Skip to main content



      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 03:41
Eclipse UserFriend
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?

Regards,
/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 Jul 19 13:49:18 EDT 2025

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

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

Back to the top